import { createRouter, createWebHashHistory } from 'vue-router';

const constantRouterMap = [{
  path: '/',
  redirect: '/home'
}, {
  name: "home",
  path: "/home",
  component: () => import("../views/home/index.vue")
}];

const Router = createRouter({
  history: createWebHashHistory(),
  routes: constantRouterMap
});

export default Router;
